{include file="/public/header" }
  <style>
    .myimg h3 {
      margin-bottom: 0px;    
      height: 20px;
      line-height: 20px;
      padding-left: 7px;
    }
    .myimg div {
      margin-top: 0px;
      height: 20px;
      line-height: 20px;
    }
    .baseinfo .qd {
      width: 150px;
    }
    .list_zhanghu{
      /*padding-left: 10px;*/
      /*width: 150px;*/
      /*height: 20px;*/
      /*line-height: 30px;*/
      border-radius: 15px 0 0 15px;
      /*background: #f6b900;*/
      color: white;

     /* position: absolute;*/
     /* right: 0px;
      top: 18px;*/
    }
    .icon {
      width: 3em;
      height: 3em;
      vertical-align: -0.15em;
      fill: currentColor;
      overflow: hidden;
    }
    .ctlist li{
      width:25%;
    }
    .ctlist li a img{
      height: 45px;
    }
  </style>
</head>
<body>
  <div class="wrap">
    <!--标题栏-->
    <div class="fixed_top">
      <div class="top-l"> </div>
      <h1>个人中心</h1>
      <!-- <div class="top-l"><a href="{:URL('Shopcat/index')}"><i class="icons">&#xe64A;</i></a></div> -->
    </div>
    <!--头部-->
    <div class="mycenter_top" style="margin-top: 44px;">
      <div class="baseinfo" style="margin:15px auto;height: 80px;">
        <div class="myimg">
          <a href="{:URL('Personal/info',['id'=>$user.Id])}">
            <img src="{$user.Photo}" onerror="this.src='/static/system/img/default.jpg'"/>
          </a>
          <h3><span class="nc">{$_user.code}</span></h3>
          <h3><span class="nc">{$_user.name}</span></h3>
         
        </div>
        <ul style="width: 158px; position: absolute; right: 0px;">
          <li style="" class="list_zhanghu">奖金：{$_user.bonus}</li>
          <li style="" class="list_zhanghu">余额：{$_user.balance}</li>
         
        </ul>
       
       <!--  <div class="qd" style="top:0px">钱包额：{$user.Commission}</div>
        <div class="qd" style="top:20px">购物币：{$user.Coins}</div>
        <div class="qd" style="top:40px">购物币：{$user.Coins}</div>
        <div class="qd" style="top:60px">购物币：{$user.Coins}</div> -->

        <!-- <div class="qd"  onclick="javascript:window.location.href='index.html'"><i class="icons">&#xe6b7;</i>退出</div> -->
      </div>
      <ul class="ctlist" style=""> 
      <li><a href="{:URL('Order/index',['OrderState'=>''])}"><img src="__STATIC__/old/img/all.png"><p>全部订单</p></a></li>
        <li><a href="{:URL('Order/index',['OrderState'=>'1'])}"><img src="__STATIC__/old/img/fk.png"><p>待付款</p></a></li>
        <li><a href="{:URL('Order/index',['OrderState'=>'2,3'])}"><img src="__STATIC__/old/img/ds.png"><p>待收货</p></a></li>
        <li><a href="{:URL('Order/index',['OrderState'=>'4'])}"><img src="__STATIC__/old/img/over.png"><p>已完成</p></a></li>
        <!-- <li><a href="{:URL('Order/index',['OrderState'=>'9'])}"><i class="icons">&#xe61E;</i><p>已取消</p></a></li> -->
      </ul>
    </div>
    <!-- list -->  
    <!-- <ul class="mycenter_list"> -->
     <!--  <li><a href="{:URL('Personal/share',['id'=>$user.Id])}"><div><i class="icons ititle">&#xe653;</i></div><p>立即分享</p><i class="icons tomore">&#xe60a;</i></a></li>
      <li><a href="{:URL('Personal/shareList',['id'=>$user.Id])}"><div><i class="icons ititle">&#xe666;</i></div><p>分享记录</p><i class="icons tomore">&#xe60a;</i></a></li> -->
      <!-- <li><a href="{:URL('Finance/draw')}"><div><i class="icons ititle">&#xe662;</i></div><p>立即提现</p><i class="icons tomore">&#xe60a;</i></a></li>
      <li><a href="{:URL('Finance/drawList')}"><div><i class="icons ititle">&#xe666;</i></div><p>提现记录</p><i class="icons tomore">&#xe60a;</i></a></li> -->
    <!-- </ul> -->
    <!-- list -->  
    <ul class="mycenter_list">
      <!-- <li><a href="{:URL('Personal/info',['id'=>$user.Id])}">
        <div><img src="__STATIC__/old/img/ziliao.png"></div><p>个人资料</p><i class="icons tomore">&#xe60a;</i>
      </a>
      </li> -->
      <li><a href="{:URL('register/index',['tgid'=>$user.Code,'is_act'=>1])}"><div><img src="__STATIC__/old/img/team.png"></div><p>注册会员</p><i class="icons tomore">&#xe60a;</i></a>
      </li>
      <!-- <li><a href="{:URL('Member/network')}"><div><img src="__STATIC__/img/team.png"></div><p>安置关系</p><i class="icons tomore">&#xe60a;</i></a></li> -->
      <li><a href="{:URL('Member/recommend')}"><div><img src="__STATIC__/old/img/team.png"></div><p>推荐关系</p><i class="icons tomore">&#xe60a;</i></a></li>
      <li><a href="{:URL('Personal/my_bouns')}"><div><img src="__STATIC__/old/img/huzhuan.png"></div><p>我的业绩</p><i class="icons tomore">&#xe60a;</i></a></li>
     <!--  {eq name="$user.IsServiceCenter" value='1'}
    
      <li><a href="{:URL('Member/zigongsi_recommend')}"><div><i class="icons ititle">&#xe66B;</i></div><p>伞下会员</p><i class="icons tomore">&#xe60a;</i></a></li>
     {/eq} -->
    <!--  <li><a href="{:URL('Personal/shengji')}"><div><i class="icons ititle">&#xe662;</i></div><p>我要升级</p><i class="icons tomore">&#xe60a;</i></a></li> -->
     <!-- <li><a href="{:URL('Settle/line')}"><div><i class="icons ititle">&#xe662;</i></div><p>GW动态</p><i class="icons tomore">&#xe60a;</i></a></li> -->
     <li><a href="{:URL('Personal/share')}"><div><img src="__STATIC__/old/img/team.png"></div><p>推广中心</p><i class="icons tomore">&#xe60a;</i></a></li>
    <!--  {neq name="$user.LevelId" value="1"}
     <li><a href="{:URL('Member/sonCast')}"><div><i class="icons ititle">&#xe662;</i></div><p>我要复消</p><i class="icons tomore">&#xe60a;</i></a></li>
     {/neq} -->
    <!--  <li><a href="{:URL('Member/fudai_list')}"><div><i class="icons ititle">&#xe662;</i></div><p>福袋记录</p><i class="icons tomore">&#xe60a;</i></a></li> -->
     <!-- <li><a href="{:URL('Member/shifang_list')}"><div><i class="icons ititle">&#xe662;</i></div><p>释放记录</p><i class="icons tomore">&#xe60a;</i></a></li> -->
    </ul>
    <ul class="mycenter_list">
      <!-- <li><a href="{:URL('Finance/draw')}"><div><i class="icons ititle">&#xe662;</i></div><p>树人豆兑换</p><i class="icons tomore">&#xe60a;</i></a></li> -->
      <li><a href="{:URL('Finance/reward',['id'=>$user.Id])}"><div><img src="__STATIC__/old/img/jiangjin.png"></div><p>奖金明细</p><i class="icons tomore">&#xe60a;</i></a></li>
     <li><a href="{:URL('Finance/draw')}"><div><img src="__STATIC__/old/img/huzhuan.png"></div><p>会员提现</p><i class="icons tomore">&#xe60a;</i></a></li>
      <li><a href="{:URL('Finance/drawList')}"><div><img src="__STATIC__/img/gw.png"></div><p>提现记录</p><i class="icons tomore">&#xe60a;</i></a></li>
      <!-- <li><a href="{:URL('Finance/convert')}"><div><img src="__STATIC__/img/huzhuan.png"></div><p>我要转换</p><i class="icons tomore">&#xe60a;</i></a></li>
      <li><a href="{:URL('Finance/transfer')}"><div><img src="__STATIC__/img/huzhuan.png"></div><p>我要转账</p><i class="icons tomore">&#xe60a;</i></a></li> 
      <li><a href="{:URL('Finance/remit_add')}"><div><img src="__STATIC__/img/cz.png"></div><p>会员充值</p><i class="icons tomore">&#xe60a;</i></a></li>-->
    </ul>
    <!-- list -->  
    <ul class="mycenter_list">
       
      <li><a href="{:URL('Personal/security')}"><div><img src="__STATIC__/img/qd.png"></div><p>安全中心</p><i class="icons tomore">&#xe60a;</i></a></li>
      <li><a href="{:URL('Personal/address')}"><div><img src="__STATIC__/img/addr.png"></div><p>收货地址</p><i class="icons tomore">&#xe60a;</i></a></li>
      <li><a onclick="logout();"><div><img src="__STATIC__/img/gonggao.png"></div><p>退出系统</p><i class="icons tomore">&#xe60a;</i></a></li>
    </ul>

    <!-- list -->
    <!-- <ul class="mycenter_list" style="padding: 5px;">
      <a href="javascript:;" class="ljzf tijiao tuichu" style="width: 100%;margin: 0px auto;">退出系统</a>
    </ul> -->
    <!--导航栏-->
    
  </div>
  <div style="height: 50px;"></div>
  {include file="public/tab" /}
</body>

<script type="text/javascript">
  function logout() {
        $.post("{:url('logout')}", '1', function(data){
            messageToast(data.info);
            setTimeout(function(){
                window.location.href = "/"
            }, 1000);

        }, 'json');
    }
</script>
</html>